package com.newworld.basketballfire.service.delegate;

import com.newworld.basketballfire.service.exception.ServiceException;
import com.newworld.basketballfire.service.model.Dues;
import com.newworld.basketballfire.service.model.DuesParams;
import com.newworld.basketballfire.service.model.ListResult;

/**
 * Created by George on 2019/3/3.
 * DuesServiceDelegate
 */
public interface DuesServiceDelegate {
    Dues addDues(DuesParams dues) throws ServiceException;

    Dues updateDues(String id, DuesParams duesParams) throws ServiceException;

    void deleteDues(String id) throws ServiceException;

    Dues getDues(String id) throws ServiceException;

    ListResult<Dues> getDuesList(String id, String activityId, String userId, int pageNo, int pageSize) throws ServiceException;
}
